import React from 'react';
import {View, Text,TouchableOpacity} from 'react-native';

export default class ChirdB2 extends React.Component {


  shouldComponentUpdate(nextProps){
    return nextProps.count > 2;
  }

  render() {
    console.log('ChirdB2 render', this.props.count);

    return (
      <View style={{backgroundColor:'blue'}}>
          <Text>三级页面</Text>
          <Text>ChirdB2</Text>
      </View>
    )
  }
}
